package cz.none.bezbarier.web.vo;

import java.io.Serializable;

public class FlashMessage implements Serializable {
	/**
	 *
	 */
	private static final long serialVersionUID = 1L;

	private String message;
	private Severity severity;

	public FlashMessage(Severity severity, String message) {
		super();
		this.message = message;
		this.severity = severity;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Severity getSeverity() {
		return severity;
	}

	public void setSeverity(Severity severity) {
		this.severity = severity;
	}

	public enum Severity {
		INFO, WARNING, ERROR;
	}
}
